
body{
  color:@color-text;
  background:#fefefa;
  position: relative;
  overflow-x: hidden;
  &.gray{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
  }
}
header{
  background:@color-white;
  box-shadow: 1px 0 10px rgba(0,0,0,.1);
}
.page-index{
  background:@bg-white;
}
.footer{
  background: #f0f0f0;
  padding-top:30px;
  margin-top: 30px;
  .container{
    padding-bottom:50px;
    font-size: 12px;
  }
} 

a{
  color:@color-eye-darker;
  &:hover{
    color:@color-eye;
  }
  &:visited{
    color:@color-text-dark;
  }
}

.empty{
  width: 100%;
  padding:30px 0;
  text-align: center;
  color:@color-text-dark;
}

.btn{
  border-radius: 0;
}
.input-group-text{
  border-radius: 0;
  border: 0;
  background: transparent;
  border-bottom:1px #009dac solid;
}
.form-control{
  border-radius: 0;
  border: 0;
  border-bottom:1px #009dac solid;
}

.container {
  max-width: 1110px;
}
header,.page-index{
  .container{
    max-width: 1260px;
  }
}

.search-list{
  .media{
    align-items: center;
    .media-body{
      padding:10px;
      p{
        font-size: 14px;
        color:#999;
      }
    }
    &:hover{
      background-color:rgba(0,0,0,.1);
    }
  }
  a:hover{
    text-decoration: none;
    color:@color-eye;
  }
}

.block-title{
  text-align: center;
  margin:0 auto 2rem auto;
  >span{
    display:block;
  }
  .title-en{
    font-size: 48px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color:#000;
    opacity: .8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
  }
  .title-cn{
    font-size:28px;
    font-weight:bold;
    color:#000;
    position: relative;
    margin:0 auto;
    display:inline-block;
    &:after{
      content:"";
      position: absolute;
      bottom:2px;
      left:0;
      background:#fb830f;
      border-radius:10px;
      height:5px;
      width:100%;
    }
  }
  .description{
    color: #000;
    opacity: .6;
    font-size: 20px;
    line-height: 2em;
  }
}

.en-upper{
  text-transform: uppercase;
}


.nav-box{
  padding-top:20px;
  padding-bottom:20px;
  z-index:9;

  &.collapse{
    padding-top:0;
    padding-bottom:0;
  }

  .navbar-brand{
    color:@color-eye;
    padding:0;
  }
  .navbar-toggler-icon{
    &:before{
      font-size:30px;
      color : @color-text-dark;
    }
  }
  .navbar-collapse{
    position: relative;
    .nav-bg{
      position: absolute;
      width:134px;
      height: calc(100% + 20px);
      z-index: 1;
      top:-20px;
      right: 0;
      width: 0;
      background:url(../images/menu-hover.png) center bottom no-repeat;
      background-size: contain;
      transition: right ease-in-out .3s;
    }
  }
  .navbar-nav {
    position: relative;
    z-index: 2;
    .nav-link {
      color : @color-text;
      padding : 1rem 0;
    }
    >.nav-item{
      position: relative;
      .nav-link{
        position: relative;
        z-index: 2;
        width:134px;
        transition: color linear .3s;
        &::after{
          content:"|";
          color:#333;
          position: absolute;
          top:1rem;
          right:0;
        }
      }
      &:last-child{
        >.nav-link{
          &::after{
            content:"";
          }
        }
      }
    }
    >.active{
      >.nav-link{
        color : #009dac;
      }
    }
    .nav-text{
      display:block;
      white-space: nowrap;
      text-align: center;
    }
    span.en{
      font-size:10px;
      text-transform: uppercase;
    }
    .dropdown-menu{
      border:0;
      border-radius:0;
      margin:0;
      box-shadow: 1px 0 10px rgba(0,0,0,.1);
      z-index:1;
    }
  }
}

header{
  .navbar-brand{
    height: 93px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    transition: height linear .5s;
    img{visibility: hidden;}
  }
  .nav-box{
    transition: padding linear .5s;
  }

  &.header-collapse{
    .navbar-brand{
      height: 56px;
    }
    .nav-box{
      padding-top:0;
      padding-bottom:0;
    }
  }
}

.gotop{
  cursor: pointer;
  width: 55px;
  height: 56px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: url(../images/gotop.png) center center no-repeat;
}

.service-telephone{
  position: relative;
  padding-left: 48px;
  padding-top: 25px;
  font-size: 20px;
  color: #333;
  width: 300px;
  height: 54px;
  background:url(../images/bottom-tel.png) left top no-repeat;
  text-align: left;
  .icons{
    position: absolute;
    right: 0;
    top: 0;
    width: 102px;
    height: 25px;
    .icon-item{
      position: relative;
      background:url(../images/icon-wechat.png) center center no-repeat;
      background-size: contain;
      width: 24px;
      height: 24px;
      margin: 0 10px 0 0;
      opacity: .7;
      float: left;
      cursor: pointer;
      .qrcode{
        position: absolute;
        display: none;
        left: -48px;
        top: -120px;
        background:#fff;
        border-radius: 5px;
        padding: 4px;
        box-shadow: 1px 1px 5px rgba(0,0,0,.1);
        z-index:99;
        img{
          width: 111px;
          height: 111px;
        }
      }
      &.qr-bottom{
        .qrcode{
          top: 25px;
        }
      }
      &:hover{
        opacity: 1;
        .qrcode{
          display: block;
        }
      }
    }
    .icon-weibo{
      background-image: url(../images/icon-weibo.png);
    }
    .icon-qq{
      background-image: url(../images/icon-qq.png);
    }
  }
}

.swiper-container{
  position: relative;
  overflow: hidden;
  &:after{
    content:"";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 48px;
    background:url(../images/banner-mask.png) center bottom no-repeat;
    z-index: 1;
  }
  &.subbanner:after{
    background-image:url(../images/banner-mask-gray.png);
  }
  .swiper-wrapper{
    height: 100%;
  }
  .swiper-slide{
    position: relative;
    background-position: center center;
    .mainbg{
      display:none;
    }
    .ani{
      position: absolute;
      left:0;top:0;
    }
  }
  .swiper-pagination {
    position: absolute;
    z-index: 20;
    bottom: 10px;
    width: 100%;
    text-align: center;
  }
  .swiper-pagination-switch {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #ccc;
    margin: 0 5px;
    opacity: 0.8;
    border: 1px solid #ccc;
    cursor: pointer;
  }
  .swiper-active-switch {
    background: #6e7dc2;
  }
}

.carousel{
  margin-bottom:2rem;
  .carousel-inner:after{
    content:"";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 48px;
    background:url(../images/banner-mask.png) center bottom no-repeat;
    z-index: 1;
  }
  .carousel-item{
    height:400px;
    background:url(../images/blank.gif) center center no-repeat;
    background-size:cover;
    img.mainbg{
      display:none;
    }
  }
  .carousel-indicators{
    bottom:-20px;
    li{
      border:0;
      width: 10px;
      height: 10px;
      border-radius: 10px;
      background-color: #ccc;
      &.active{
        background-color: #6e7dc2;
      }
    }
  } 
}
.main{
  min-height:500px;
}



.feedbackrow{
  padding: 2rem 0 1rem 0;
  background: #ebebeb;
}
.bottom-nav{
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1em;
  .bnav-link{
    margin-right: 0.5rem;
    padding-right:0.5rem;
    border-right:1px #222 solid;
    &:last-child{
      border-right: 0;
    }
  }
}

@media (max-width: 991px) {
  .carousel{
    .carousel-item{
      height:260px;
    }
  }
  header .container{
    padding:0;
  }
  .nav-box {
    .navbar-collapse{
      border-top:1px @bg-hover solid;
    }
    .navbar-nav {
      .nav-link {
        padding : 0.5rem 1rem;
      }
      .dropdown-menu{
        border:0;
        border-radius:0;
        margin:0;
        box-shadow: none;
        background:@bg-grey;
        z-index:1;
      }
    }
  }
}
@media (max-width: 480px) {
  .carousel{
    .carousel-item{
      height:150px;
    }
  }
}